<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NINJA: TreeBuilderBinHeap Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NINJA
   &#160;<span id="projectnumber">2.x</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_tree_builder_bin_heap.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_tree_builder_bin_heap-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TreeBuilderBinHeap Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_tree_builder_bin_heap_8hpp_source.html">TreeBuilderBinHeap.hpp</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for TreeBuilderBinHeap:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="class_tree_builder_bin_heap.png" usemap="#TreeBuilderBinHeap_map" alt=""/>
  <map id="TreeBuilderBinHeap_map" name="TreeBuilderBinHeap_map">
<area href="class_tree_builder.html" alt="TreeBuilder" shape="rect" coords="0,0,126,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abbd80cd829cf7f5187fb6bfa7057256c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder_bin_heap.html#abbd80cd829cf7f5187fb6bfa7057256c">TreeBuilderBinHeap</a> (std::string **<a class="el" href="class_tree_builder.html#adf035970b6627d0249558400609b2cf9">names</a>, int **distances, int namesSIze)</td></tr>
<tr class="separator:abbd80cd829cf7f5187fb6bfa7057256c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7ddcc75b903a4a5cd43541543a7ad60"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder_bin_heap.html#af7ddcc75b903a4a5cd43541543a7ad60">~TreeBuilderBinHeap</a> ()</td></tr>
<tr class="separator:af7ddcc75b903a4a5cd43541543a7ad60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55103dd4bc84a5338920f08e7d943001"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tree_node.html">TreeNode</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder_bin_heap.html#a55103dd4bc84a5338920f08e7d943001">build</a> ()</td></tr>
<tr class="separator:a55103dd4bc84a5338920f08e7d943001"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_tree_builder"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_tree_builder')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_tree_builder.html">TreeBuilder</a></td></tr>
<tr class="memitem:a50223a97cf2e33142ced2c212e22cad6 inherit pub_methods_class_tree_builder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a50223a97cf2e33142ced2c212e22cad6">TreeBuilder</a> (std::string **<a class="el" href="class_tree_builder.html#adf035970b6627d0249558400609b2cf9">names</a>, int **distances, int namesSize)</td></tr>
<tr class="separator:a50223a97cf2e33142ced2c212e22cad6 inherit pub_methods_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf3859d93a39df4713024db0efd6dc0a inherit pub_methods_class_tree_builder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#aaf3859d93a39df4713024db0efd6dc0a">~TreeBuilder</a> ()</td></tr>
<tr class="separator:aaf3859d93a39df4713024db0efd6dc0a inherit pub_methods_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5bd710b0c3d0aa17d815e34b8dca0993"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder_bin_heap.html#a5bd710b0c3d0aa17d815e34b8dca0993">candidateCountPerLoop</a></td></tr>
<tr class="separator:a5bd710b0c3d0aa17d815e34b8dca0993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_tree_builder"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_tree_builder')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_tree_builder.html">TreeBuilder</a></td></tr>
<tr class="memitem:ab34a44da83ef16f3cada5eacd6e89d0a inherit pub_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#ab34a44da83ef16f3cada5eacd6e89d0a">K</a></td></tr>
<tr class="separator:ab34a44da83ef16f3cada5eacd6e89d0a inherit pub_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_attribs_class_tree_builder"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_tree_builder')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_tree_builder.html">TreeBuilder</a></td></tr>
<tr class="memitem:a93869c0b95d628222e1e1f641a696cc3 inherit pub_static_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a93869c0b95d628222e1e1f641a696cc3">distInMem</a> = false</td></tr>
<tr class="separator:a93869c0b95d628222e1e1f641a696cc3 inherit pub_static_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18f0e3b92f71dcba08d8146115d85e03 inherit pub_static_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a18f0e3b92f71dcba08d8146115d85e03">rebuildStepsConstant</a> = false</td></tr>
<tr class="separator:a18f0e3b92f71dcba08d8146115d85e03 inherit pub_static_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4858f795129eb29decc59def89f9863 inherit pub_static_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">static float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#aa4858f795129eb29decc59def89f9863">rebuildStepRatio</a> = (float) 0.5</td></tr>
<tr class="separator:aa4858f795129eb29decc59def89f9863 inherit pub_static_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ad2e53bba32c295b58874f8085d1b79 inherit pub_static_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a5ad2e53bba32c295b58874f8085d1b79">rebuildSteps</a> = -1</td></tr>
<tr class="separator:a5ad2e53bba32c295b58874f8085d1b79 inherit pub_static_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d2987bb2165ecc06261568ece739783 inherit pub_static_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a7d2987bb2165ecc06261568ece739783">candidateIters</a> = 50</td></tr>
<tr class="separator:a7d2987bb2165ecc06261568ece739783 inherit pub_static_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b3775c9a0d0aab28b4aae727ef6576c inherit pub_static_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a5b3775c9a0d0aab28b4aae727ef6576c">clustCnt</a> = 30</td></tr>
<tr class="separator:a5b3775c9a0d0aab28b4aae727ef6576c inherit pub_static_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d49b744496d897a2d752bb5cd5c3a98 inherit pub_static_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a2d49b744496d897a2d752bb5cd5c3a98">verbose</a> = 1</td></tr>
<tr class="separator:a2d49b744496d897a2d752bb5cd5c3a98 inherit pub_static_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_tree_builder"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_tree_builder')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_tree_builder.html">TreeBuilder</a></td></tr>
<tr class="memitem:a1febaf1b495ebfb94b0017111560f45c inherit pro_methods_class_tree_builder"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a1febaf1b495ebfb94b0017111560f45c">finishMerging</a> ()</td></tr>
<tr class="separator:a1febaf1b495ebfb94b0017111560f45c inherit pro_methods_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_tree_builder"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_tree_builder')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_tree_builder.html">TreeBuilder</a></td></tr>
<tr class="memitem:adf035970b6627d0249558400609b2cf9 inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">std::string **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#adf035970b6627d0249558400609b2cf9">names</a></td></tr>
<tr class="separator:adf035970b6627d0249558400609b2cf9 inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3492015b7d90ae531e127d48edd57a3f inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">int **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a3492015b7d90ae531e127d48edd57a3f">D</a></td></tr>
<tr class="separator:a3492015b7d90ae531e127d48edd57a3f inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a7cf93c4f83694655b42b66841ec022 inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a2a7cf93c4f83694655b42b66841ec022">R</a></td></tr>
<tr class="separator:a2a7cf93c4f83694655b42b66841ec022 inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a5d969e496a1b78847521b3dff8ce9e inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tree_node.html">TreeNode</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a4a5d969e496a1b78847521b3dff8ce9e">nodes</a></td></tr>
<tr class="separator:a4a5d969e496a1b78847521b3dff8ce9e inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a920fc80b7d5e19e0caabeb21827eae40 inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a920fc80b7d5e19e0caabeb21827eae40">redirect</a></td></tr>
<tr class="separator:a920fc80b7d5e19e0caabeb21827eae40 inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38fb7d80b54e7ef8fb45eb645a92db39 inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a38fb7d80b54e7ef8fb45eb645a92db39">nextActiveNode</a></td></tr>
<tr class="separator:a38fb7d80b54e7ef8fb45eb645a92db39 inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0906754cc42b0da0fd1e74a9f788f8c1 inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a0906754cc42b0da0fd1e74a9f788f8c1">prevActiveNode</a></td></tr>
<tr class="separator:a0906754cc42b0da0fd1e74a9f788f8c1 inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79c366bd440a80d4d33d74b5b067c319 inherit pro_attribs_class_tree_builder"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tree_builder.html#a79c366bd440a80d4d33d74b5b067c319">firstActiveNode</a></td></tr>
<tr class="separator:a79c366bd440a80d4d33d74b5b067c319 inherit pro_attribs_class_tree_builder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abbd80cd829cf7f5187fb6bfa7057256c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbd80cd829cf7f5187fb6bfa7057256c">&#9670;&nbsp;</a></span>TreeBuilderBinHeap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TreeBuilderBinHeap::TreeBuilderBinHeap </td>
          <td>(</td>
          <td class="paramtype">std::string **&#160;</td>
          <td class="paramname"><em>names</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int **&#160;</td>
          <td class="paramname"><em>distances</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>namesSIze</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af7ddcc75b903a4a5cd43541543a7ad60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7ddcc75b903a4a5cd43541543a7ad60">&#9670;&nbsp;</a></span>~TreeBuilderBinHeap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TreeBuilderBinHeap::~TreeBuilderBinHeap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a55103dd4bc84a5338920f08e7d943001"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55103dd4bc84a5338920f08e7d943001">&#9670;&nbsp;</a></span>build()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_tree_node.html">TreeNode</a> ** TreeBuilderBinHeap::build </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a5bd710b0c3d0aa17d815e34b8dca0993"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bd710b0c3d0aa17d815e34b8dca0993">&#9670;&nbsp;</a></span>candidateCountPerLoop</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* TreeBuilderBinHeap::candidateCountPerLoop</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>NINJA/<a class="el" href="_tree_builder_bin_heap_8hpp_source.html">TreeBuilderBinHeap.hpp</a></li>
<li>NINJA/<a class="el" href="_tree_builder_bin_heap_8cpp.html">TreeBuilderBinHeap.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_tree_builder_bin_heap.html">TreeBuilderBinHeap</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  </ul>
</div>
</body>
</html>
